package com.tem.system.service;

import com.api.manage.pojo.content.CmsTypeBean;
import com.api.manage.pojo.system.SysRegionBean;
import com.tem.system.entity.SysRegion;
import com.baomidou.mybatisplus.extension.service.IService;
import io.swagger.annotations.ApiOperation;

import java.util.List;

/**
 * <p>
 * 区域 服务类
 * </p>
 * @author 鸿源塔基
 * @since 2023-06-09
 */
public interface ISysRegionService extends IService<SysRegion> {
    /**
     * 获取树结构
     * @return
     */
    @ApiOperation(value = "城市区域树结构")
    public List<SysRegionBean> getTree();
    @ApiOperation(value = "转化成bean")
    public List<SysRegionBean> toBean(List<SysRegion> list);
}
